using ProduceBasicData.Domain.Entities;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProduceBasicData.Domain.Material
{
    /// <summary>
    /// 群组类型字典
    /// </summary>
    public class GroupTypeDictionary : BaseModel
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? GroupTypeCode { get; set; }
        
        /// <summary>
        /// 群组类型名称
        /// </summary>
        public string GroupTypeName { get; set; }
        
        /// <summary>
        /// 群组类型描述
        /// </summary>
        public string GroupTypeDesc { get; set; }
        
        /// <summary>
        /// 是否需要默认工艺路线
        /// </summary>
        public bool RequireDefaultCraft { get; set; }
        
        /// <summary>
        /// 排序号
        /// </summary>
        public int SortOrder { get; set; }
        
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; } = true;
    }
}
